package com.dianqiu.common.service;

import java.util.List;

import com.dianqiu.common.bean.DqBetCompanyTO;
import com.dianqiu.common.bean.DqBetUserMatchTO;
import com.dianqiu.common.bean.DqClubsTO;
import com.dianqiu.common.bean.DqHandicapTO;
import com.dianqiu.common.bean.DqMatchPoolTO;
import com.dianqiu.common.bean.DqMatchTO;

public interface BetService {
	
	public List<DqMatchTO> getAllMatchGroupByMatchDate();
	
	public List<DqMatchPoolTO> getAllMatchPool();

	
	public List<DqMatchTO> getAllMatch();
	
	public DqHandicapTO getHandicapByMatchId(Integer matchId);

	
	public void saveDqBetUserMatchTO(DqBetUserMatchTO betUserMatch);
	
	public DqBetCompanyTO getPreferredBetCompanyByUserId(String userId);
	
	public DqHandicapTO getHandicapByBetCompanyIdAndMatchId(Integer companyId, Integer matchId,String order);
	
	public List<DqMatchTO> getMatchByStatus(String matchStatus);
	
	public List<DqMatchTO> getAllFinishedMatch();
	
	public DqBetUserMatchTO getDqBetUserMatchByUserIdAndHandicapIdAndMatchId(String userId, Integer handicapId, Integer matchId);

	public List<DqClubsTO> getClubesById(Integer id);

	public DqHandicapTO getHandicapById(Integer id);
	
	public List<DqBetUserMatchTO> getDqBetUserMatchListByUserIdAndHandicapIdAndMatchId(String userId, Integer matchId, Integer handicapId);

}
